package com.spring.cn.config.collections;

import java.util.List;

/**
 * @author liangd
 * date 2020-11-13 10:42
 * code
 */
public class CompanyListBean {
    /**
     * 公司名
     */
    private String name;
    /**
     * 地址
     */
    private String address;
    /**
     * 产品
     */
    private List<ProductBean> productBeanList;

    public CompanyListBean() {
    }

    public CompanyListBean(String name, String address) {
        this.name = name;
        this.address = address;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<ProductBean> getProductBeanList() {
        return productBeanList;
    }

    public void setProductBeanList(List<ProductBean> productBeanList) {
        this.productBeanList = productBeanList;
    }

    @Override
    public String toString() {
        return "CompanyBean{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", productBeanList=" + productBeanList +
                '}';
    }
}
